import request from '@/utils/request'

export function get(params) {
  return request({
    url: '/api/customerSlip',
    method: 'get',
    params
  })
}
export function customerSlipDraw(params) {
  return request({
    url: '/api/customerSlip/draw',
    method: 'get',
    params
  })
}

export function customerSlipDrawAdd(data) {
  return request({
    url: '/api/customerSlip/drawAdd',
    method: 'post',
    data
  })
}

export function del(ids) {
  return request({
    url: '/api/customerSlip/remove',
    method: 'post',
    data: ids
  })
}
export default { get, del }
